<?php
/**
 * this is phpunit suite sample file
 *
 * @usage
 *  run suite:
 *      phpunit samplesuite.php
        
 *
 *
 */
require_once 'index.php';
require_once 'Framework/TestSuite.php';
class SampleSuite extends PHPUnit_Framework_TestSuite
{
    public function __construct()
    {
        //for add a test file
        //$this->addTestFile("sampletest.php");
        
        //for add a test case in a test file
        require_once("sampletest.php");
        $this->addtest(new SampleTest("testSum"));
    }

    public static function suite()
    {
        //must return
        return new self();
    }

    /**
     * execute before suite
     *
     */
    public function setUp()
    {

    }

    /**
     * execute after suite
     *
     */
    public function tearDown()
    {

    }

}//end class

